load("//tools:defs.bzl", "go_binary", "pkg_tar")

package(
    default_applicable_licenses = ["//:license"],
    licenses = ["notice"],
)

go_binary(
    name = "containerd-shim-runsc-v1",
    srcs = ["main.go"],
    static = True,
    tags = ["staging"],
    visibility = [
        "//visibility:public",
    ],
    deps = ["//shim/cli"],
)

pkg_tar(
    name = "config",
    srcs = [
        "runsc.toml",
    ],
    mode = "0644",
    package_dir = "/etc/containerd",
    visibility = [
        "//visibility:public",
    ],
)
